{extend name="shop/default/Member/base" /}
{block name="resources"}
<style type="text/css">
td{padding:10px;border: 1px Black; width:46px;}
table{background-color:#eeeeee;border:0;width:100%;}
.integral_title{display:block;font-size:18px;text-align:center;padding:20px;}
.user-right .tabmenu .tab li {border-bottom: 2px #ff6600 solid;} 
.chongzhi{
	    width: 7%;
    float: right;
    line-height: 40px;
    background: #ff0000;
    text-align: center;
}
.modal-content{
	width: 52%;left: 302px;
}
</style>
{/block}
{block name="main"}
    <div class="user-right" >
    	<div class="box" id="firstpage">
        <div class="tabmenu">
          <ul class="tab pngFix">
            <li class="first active">{:lang('member_cash_register')}</li>
          </ul>
        </div>
<!--            <span class="integral_title" style="display:inline-block;"><b>{$shopname}积分操作明细(可用积分:<span id="sum">{$sum}</span>)</b></span> -->
           	<div class="interal_table" style="height:40px;width: 80%;float: left;">
                <span style="display:inline-block; float:left;font-size:16px;margin:10px;">
                {if condition="!isset($shopname)"}
                 	{$platform_shopname}
                {else /}
                	{$shopname}
                {/if}<span style="color:#989191;">({:lang('member_balance')}:<span id="sum">{$sum})</span></span>
                </span>
            </div> 
            <div class="chongzhi"><a href="{:__URL('SHOP_MAIN/member/balancewithdrawals')}" style="color:#fff;">{:lang('member_balance_withdrawal')}</a></div>
 {if condition="$total_count neq ''"}           
		<table>
            <tr align="center">
              <td>{:lang('member_serial_number')}</td>
              <td>{:lang('member_cash_in_bank')}</td> 
              <td>{:lang('member_cash_withdrawal_account')}</td>  
              <td>{:lang('cell_phone_number')}</td>                
              <td>{:lang('member_amount_money')}</td>
              <td>{:lang('member_cash_withdrawal_time')}</td>
			        <td>{:lang('member_cash_withdrawal_status')}</td>              
            </tr>
            <tbody id="list_content" class="close-order">
			   {foreach $balances.data as $balance}
				<tr align="center">
					<td>{$balance.withdraw_no}</td>
					<td>{$balance.bank_name}</td>
					<td>{$balance.account_number}</td>
					<td>{$balance.mobile}</td>
					<td>{$balance.cash}</td>
					<td>{$balance.ask_for_date | getTimeStampTurnTime}</td>
					<td>{$balance.status}</td>
				</tr>
			  {/foreach}
            </tbody>
          
          </table>
    {else/}
          <div>
              <div class="emptyFrame"> <i class="user_balance"></i><span>{:lang('member_no_record_yet')}！</span> </div>
          </div>
   {/if}         
            {include file='shop/default/controlCommonPage'/}
        </div> 

</div>
<!-- 余额充值弹出结束 -->
{/block}
{block name="javascript"}
<script type="text/javascript">
 
 
 </script>
{/block}